package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "mall_navigation_log")
public class MallNavigationLog {
    private Integer sort;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Id
    @Column(name = "navigation_log_id")
    private Integer navigationLogId;

    private String type;

    private String params;
    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Integer userId;

    public Integer getUserId() {
        return userId;
    }

    @Column(name = "nav_desc")
    private String navDesc;

    private String link;

    public String getNavDesc() {
        return navDesc;
    }

    public void setNavDesc(String navDesc) {
        this.navDesc = navDesc;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Column(name = "create_time")
    private Date createTime;

    /**
     * @return navigation_log_id
     */
    public Integer getNavigationLogId() {
        return navigationLogId;
    }

    /**
     * @param navigationLogId
     */
    public void setNavigationLogId(Integer navigationLogId) {
        this.navigationLogId = navigationLogId;
    }

    /**
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return params
     */
    public String getParams() {
        return params;
    }

    /**
     * @param params
     */
    public void setParams(String params) {
        this.params = params;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}